import {createRouter,createWebHistory} from 'vue-router'
const router=createRouter({
  history:createWebHistory(),
  routes:[{
    path:"/",
    redirect:"/borrow"
  },
  {
    path:"/borrow",
    component:()=>import("../view/BorrowAddView.vue")
  },
  {
    path:"/borrowlist",
    component:()=>import("../view/BorrowList.vue")
  },
  {
    path:"/update",
    component:()=>import("../view/Update.vue")
  }]
})
export default router